package com.zh.domain.dto.bug;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@ApiModel(value = "UpdateBugRequest",description = "更新缺陷请求参数")
public class UpdateBugRequest implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("缺陷id")
    private Integer id;
    @ApiModelProperty("关联项目id")
    private Integer proId;
    @ApiModelProperty("关联里程碑id -1 不更新")
    private Integer mileId;
    @ApiModelProperty("关联迭代id -1 不更新")
    private Integer iterId;
    @ApiModelProperty("关联需求id -1 不更新")
    private Integer reqId;
    @ApiModelProperty("关联任务id -1 不更新")
    private Integer taskId;
    @ApiModelProperty("缺陷标题")
    private String title;
    @ApiModelProperty("缺陷描述")
    private String description;
    @ApiModelProperty("缺陷负责人id")
    private Integer ownerId;
    @ApiModelProperty("缺陷等级(0 P0, 1 P1, 2 P2)")
    private Integer priority;
    @ApiModelProperty("缺陷开始时间")
    private LocalDateTime startTime;
    @ApiModelProperty("缺陷结束时间")
    private LocalDateTime endTime;
    @ApiModelProperty("缺陷备注")
    private String remark;
    @ApiModelProperty("缺陷状态(0规划中1进行中2暂停中3已逾期4已完成)")
    private Integer status;
}